package com.tianyang.yukuaifu.business.main.contract;

import com.tianyang.yukuaifu.base.IBaseExtraView;
import com.tianyang.yukuaifu.base.IBasePresenter;
import com.tianyang.yukuaifu.business.main.bean.ChannelOutput;
import com.tianyang.yukuaifu.business.main.bean.UserStoreOutput;

import java.util.List;

/**
 * Description：店铺门店管理
 * Created by xyj on 2024/3/11
 */
public interface StoreManageContract {

    interface View extends IBaseExtraView<Presenter> {
        /**
         * 显示列表
         */
        void showStoreManageListView(List<UserStoreOutput> outputs);

        void showChannelView(List<ChannelOutput> outputs);
    }

    interface Presenter extends IBasePresenter {

        /**
         * 获取列表
         */
        void getStoreManageList();

        /**
         * 切换账号
         */
        void getAnotherStoresToken(int memberId);

        /**
         * 新增店铺
         */
        void createNewStoreMerchant(String merchantType, String posChannel);

        void getChannelList();
    }
}
